Methods and systems that efficiently and securely store data

ABSTRACT

The current document is directed to distributed-secure-storage systems, and processes carried out within the distributed-secure-storage systems, that provide for secure storage and retrieval of confidential and critical data, referred to as “secrets,” within distributed computer systems. The secret-storage systems partition an input secret into multiple secret shares and distribute the secret shares among multiple secret-share-storing node subsystems, without persistently storing the secret itself. An agent within a client device subsequently requests a secret share corresponding to a secret, or a share of data derived from the secret share, from each of the multiple secret-share-storing nodes. The multiple secret-share-storing nodes additionally cooperate to periodically alter the stored secret shares corresponding to a secret in a way that allows agents to recover the original secret, or derived data, from all or a portion of the altered secret shares or derived-data shares.

TECHNICAL FIELD

The current document is directed to computer-system, networking, and data security and, in particular, to efficient, secure, distributed data-storage.

BACKGROUND

Early computer systems were generally large, single-processor systems that sequentially executed jobs encoded on huge decks of Hollerith cards. Over time, the parallel evolution of computer hardware and software produced main-frame computers and minicomputers with multi-tasking operation systems, increasingly capable personal computers, workstations, and servers, and, in the current environment, multi-processor mobile computing devices, personal computers, and servers interconnected through global networking and communications systems with one another and with massive virtual data centers and virtualized cloud-computing facilities. This rapid evolution of computer systems has been accompanied with a rapid proliferation in security vulnerabilities and greatly expanded needs for technologies to secure computer-systems, electronic communications, and data storage. These needs have been, and continue to be, addressed by sophisticated encryption and decryption technologies, secure data-transfer protocols, sophisticated threat monitoring and threat detection, and many other technologies. However, the abilities of malicious individuals and organizations to circumvent security features have evolved in response to the evolution of security technologies. As a result, designers, developers, manufacturers, vendors, and users of computer systems, electronic communications, and data-storage devices continue to seek improved and more efficient security technologies.

SUMMARY

The current document is directed to distributed-secure-storage systems, and processes carried out within the distributed-secure-storage systems, that provide for secure storage and retrieval of confidential and critical data, referred to as “secrets,” within distributed computer systems. The secret-storage systems partition an input secret into multiple secret shares and distribute the secret shares among multiple secret-share-storing node subsystems, without persistently storing the secret itself. An agent within a client device subsequently requests a secret share corresponding to a secret, or a share of data derived from the secret share, from each of the multiple secret-share-storing nodes. Each secret-share-storing node retrieves the requested secret share and, when requested, generates the derived-data share, and transmits the requested secret share or derived-data share to the agent, which reconstructs the secret, or the data derived from the secret, from all or a portion of the secret shares or derived-data shares transmitted to the agent. The multiple secret-share-storing nodes additionally cooperate to periodically alter the stored secret shares corresponding to a secret in a way that allows agents to recover the original secret, or derived data, from all or a portion of the altered secret shares or derived-data shares. The secret-share refresh process is extended to provide for adding new secret-share-storing nodes to a distributed-secure-storage system and for recovering failed secret-share-storing nodes.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 provides a general architectural diagram for various types of computers.

FIG. 2 illustrates an Internet-connected distributed computer system.

FIG. 3 illustrates cloud computing.

FIG. 4 illustrates generalized hardware and software components of a general-purpose computer system, such as a general-purpose computer system having an architecture similar to that shown in FIG. 1.

FIGS. 5A-D illustrate two types of virtual machine and virtual-machine execution environments.

FIG. 6 illustrates an OVF package.

FIG. 7 illustrates virtual data centers provided as an abstraction of underlying physical-data-center hardware components.

FIG. 8 illustrates virtual-machine components of a VI-management-server and physical servers of a physical data center above which a virtual-data-center interface is provided by the VI-management-server.

FIG. 9 illustrates a cloud-director level of abstraction.

FIG. 10 illustrates virtual-cloud-connector nodes (“VCC nodes”) and a VCC server, components of a distributed system that provides multi-cloud aggregation and that includes a cloud-connector server and cloud-connector nodes that cooperate to provide services that are distributed across multiple clouds.

FIG. 11 illustrates an example secret and a traditional context for secure secret storage and retrieval.

FIG. 12 illustrates the alternative approach for secure storage of secrets disclosed in the current document.

FIG. 13 illustrates the DSS system.

FIG. 14 illustrates a DSS system and a DSS-system client.

FIG. 15 provides additional details about secrets and secret shares.

FIG. 16 illustrates secret reconstruction by a DSS-client agent.

FIG. 17 illustrates an additional security technique played by the DSS system and additional details about secrets stored by the DSS system.

FIGS. 18-19 illustrates an example of how securely stored secrets may be employed for providing a service or result without ever being reconstructed from the distributed secret shares in memory.

FIGS. 20A-C provide numeric examples of a polynomial encoding of a secret, generation of secret shares, recovery of the secret from k secret shares, and secret-share verification.

FIGS. 21A-B illustrate, at a relatively high level, one family of implementations.

FIGS. 22A-D illustrate the various types of communications and interactions between DSS-system entities and components.

FIGS. 23A-B provide control-flow diagrams that illustrate several features common to multiple DSS-system entity types and components.

FIG. 24 provides a control-flow diagram for an SM handler.

FIGS. 25A-E provide control-flow diagrams for a number of CC-node event handlers.

FIG. 26A provides a control-flow diagram for a DSS-client-agent get-secret routine.

FIG. 26B shows a control-flow diagram for a DSS-client-agent return-share handler.

DETAILED DESCRIPTION

The current document is directed to methods and systems that provide for secure storage and retrieval of confidential and critical data, referred to as “secrets,” within distributed computer systems. In a first subsection, below, a detailed description of computer hardware, complex computational systems, and virtualization is provided with reference to FIGS. 1-10. In a second subsection, the currently disclosed methods and systems are discussed.

Computer Hardware, Complex Computational Systems, and Virtualization

The term “abstraction” is not, in any way, intended to mean or suggest an abstract idea or concept. Computational abstractions are tangible, physical interfaces that are implemented, ultimately, using physical computer hardware, data-storage devices, and communications systems. Instead, the term “abstraction” refers, in the current discussion, to a logical level of functionality encapsulated within one or more concrete, tangible, physically-implemented computer systems with defined interfaces through which electronically-encoded data is exchanged, process execution launched, and electronic services are provided. Interfaces may include graphical and textual data displayed on physical display devices as well as computer programs and routines that control physical computer processors to carry out various tasks and operations and that are invoked through electronically implemented application programming interfaces (“APIs”) and other electronically implemented interfaces. There is a tendency among those unfamiliar with modem technology and science to misinterpret the terms “abstract” and “abstraction,” when used to describe certain aspects of modem computing. For example, one frequently encounters assertions that, because a computational system is described in terms of abstractions, functional layers, and interfaces, the computational system is somehow different from a physical machine or device. Such allegations are unfounded. One only needs to disconnect a computer system or group of computer systems from their respective power supplies to appreciate the physical, machine nature of complex computer technologies. One also frequently encounters statements that characterize a computational technology as being “only software,” and thus not a machine or device. Software is essentially a sequence of encoded symbols, such as a printout of a computer program or digitally encoded computer instructions sequentially stored in a file on an optical disk or within an electromechanical mass-storage device. Software alone can do nothing. It is only when encoded computer instructions are loaded into an electronic memory within a computer system and executed on a physical processor that so-called “software implemented” functionality is provided. The digitally encoded computer instructions are an essential and physical control component of processor-controlled machines and devices, no less essential and physical than a cam-shaft control system in an internal-combustion engine. Multi-cloud aggregations, cloud-computing services, virtual-machine containers and virtual machines, communications interfaces, and many of the other topics discussed below are tangible, physical components of physical, electro-optical-mechanical computer systems.

FIG. 1 provides a general architectural diagram for various types of computers. The computer system contains one or multiple central processing units (“CPUs”) 102-105, one or more electronic memories 108 interconnected with the CPUs by a CPU/memory-subsystem bus 110 or multiple busses, a first bridge 112 that interconnects the CPU/memory-subsystem bus 110 with additional busses 114 and 116, or other types of high-speed interconnection media, including multiple, high-speed serial interconnects. These busses or serial interconnections, in turn, connect the CPUs and memory with specialized processors, such as a graphics processor 118, and with one or more additional bridges 120, which are interconnected with high-speed serial links or with multiple controllers 122-127, such as controller 127, that provide access to various different types of mass-storage devices 128, electronic displays, input devices, and other such components, subcomponents, and computational resources. It should be noted that computer-readable data-storage devices include optical and electromagnetic disks, electronic memories, and other physical data-storage devices. Those familiar with modern science and technology appreciate that electromagnetic radiation and propagating signals do not store data for subsequent retrieval and can transiently “store” only a byte or less of information per mile, far less information than needed to encode even the simplest of routines.

Of course, there are many different types of computer-system architectures that differ from one another in the number of different memories, including different types of hierarchical cache memories, the number of processors and the connectivity of the processors with other system components, the number of internal communications busses and serial links, and in many other ways. However, computer systems generally execute stored programs by fetching instructions from memory and executing the instructions in one or more processors. Computer systems include general-purpose computer systems, such as personal computers (“PCs”), various types of servers and workstations, and higher-end mainframe computers, but may also include a plethora of various types of special-purpose computing devices, including data-storage systems, communications routers, network nodes, tablet computers, and mobile telephones.

FIG. 2 illustrates an Internet-connected distributed computer system. As communications and networking technologies have evolved in capability and accessibility, and as the computational bandwidths, data-storage capacities, and other capabilities and capacities of various types of computer systems have steadily and rapidly increased, much of modem computing now generally involves large distributed systems and computers interconnected by local networks, wide-area networks, wireless communications, and the Internet. FIG. 2 shows a typical distributed system in which a large number of PCs 202-205, a high-end distributed mainframe system 210 with a large data-storage system 212, and a large computer center 214 with large numbers of rack-mounted servers or blade servers all interconnected through various communications and networking systems that together comprise the Internet 216. Such distributed computing systems provide diverse arrays of functionalities. For example, a PC user sitting in a home office may access hundreds of millions of different web sites provided by hundreds of thousands of different web servers throughout the world and may access high-computational-bandwidth computing services from remote computer facilities for running complex computational tasks.

Until recently, computational services were generally provided by computer systems and data centers purchased, configured, managed, and maintained by service-provider organizations. For example, an e-commerce retailer generally purchased, configured, managed, and maintained a data center including numerous web servers, back-end computer systems, and data-storage systems for serving web pages to remote customers, receiving orders through the web-page interface, processing the orders, tracking completed orders, and other myriad different tasks associated with an e-commerce enterprise.

FIG. 3 illustrates cloud computing. In the recently developed cloud-computing paradigm, computing cycles and data-storage facilities are provided to organizations and individuals by cloud-computing providers. In addition, larger organizations may elect to establish private cloud-computing facilities in addition to, or instead of, subscribing to computing services provided by public cloud-computing service providers. In FIG. 3, a system administrator for an organization, using a PC 302, accesses the organization's private cloud 304 through a local network 306 and private-cloud interface 308 and also accesses, through the Internet 310, a public cloud 312 through a public-cloud services interface 314. The administrator can, in either the case of the private cloud 304 or public cloud 312, configure virtual computer systems and even entire virtual data centers and launch execution of application programs on the virtual computer systems and virtual data centers in order to carry out any of many different types of computational tasks. As one example, a small organization may configure and run a virtual data center within a public cloud that executes web servers to provide an e-commerce interface through the public cloud to remote customers of the organization, such as a user viewing the organization's e-commerce web pages on a remote user system 316.

Cloud-computing facilities are intended to provide computational bandwidth and data-storage services much as utility companies provide electrical power and water to consumers. Cloud computing provides enormous advantages to small organizations without the resources to purchase, manage, and maintain in-house data centers. Such organizations can dynamically add and delete virtual computer systems from their virtual data centers within public clouds in order to track computational-bandwidth and data-storage needs, rather than purchasing sufficient computer systems within a physical data center to handle peak computational-bandwidth and data-storage demands. Moreover, small organizations can completely avoid the overhead of maintaining and managing physical computer systems, including hiring and periodically retraining information-technology specialists and continuously paying for operating-system and database-management-system upgrades. Furthermore, cloud-computing interfaces allow for easy and straightforward configuration of virtual computing facilities, flexibility in the types of applications and operating systems that can be configured, and other functionalities that are useful even for owners and administrators of private cloud-computing facilities used by a single organization.

FIG. 4 illustrates generalized hardware and software components of a general-purpose computer system, such as a general-purpose computer system having an architecture similar to that shown in FIG. 1. The computer system 400 is often considered to include three fundamental layers: (1) a hardware layer or level 402; (2) an operating-system layer or level 404; and (3) an application-program layer or level 406. The hardware layer 402 includes one or more processors 408, system memory 410, various different types of input-output (“I/O”) devices 410 and 412, and mass-storage devices 414. Of course, the hardware level also includes many other components, including power supplies, internal communications links and busses, specialized integrated circuits, many different types of processor-controlled or microprocessor-controlled peripheral devices and controllers, and many other components. The operating system 404 interfaces to the hardware level 402 through a low-level operating system and hardware interface 416 generally comprising a set of non-privileged computer instructions 418, a set of privileged computer instructions 420, a set of non-privileged registers and memory addresses 422, and a set of privileged registers and memory addresses 424. In general, the operating system exposes non-privileged instructions, non-privileged registers, and non-privileged memory addresses 426 and a system-call interface 428 as an operating-system interface 430 to application programs 432-436 that execute within an execution environment provided to the application programs by the operating system. The operating system, alone, accesses the privileged instructions, privileged registers, and privileged memory addresses. By reserving access to privileged instructions, privileged registers, and privileged memory addresses, the operating system can ensure that application programs and other higher-level computational entities cannot interfere with one another's execution and cannot change the overall state of the computer system in ways that could deleteriously impact system operation. The operating system includes many internal components and modules, including a scheduler 442, memory management 444, a file system 446, device drivers 448, and many other components and modules. To a certain degree, modem operating systems provide numerous levels of abstraction above the hardware level, including virtual memory, which provides to each application program and other computational entities a separate, large, linear memory-address space that is mapped by the operating system to various electronic memories and mass-storage devices. The scheduler orchestrates interleaved execution of various different application programs and higher-level computational entities, providing to each application program a virtual, stand-alone system devoted entirely to the application program. From the application program's standpoint, the application program executes continuously without concern for the need to share processor resources and other system resources with other application programs and higher-level computational entities. The device drivers abstract details of hardware-component operation, allowing application programs to employ the system-call interface for transmitting and receiving data to and from communications networks, mass-storage devices, and other I/O devices and subsystems. The file system 436 facilitates abstraction of mass-storage-device and memory resources as a high-level, easy-to-access, file-system interface. Thus, the development and evolution of the operating system has resulted in the generation of a type of multi-faceted virtual execution environment for application programs and other higher-level computational entities.

While the execution environments provided by operating systems have proved to be an enormously successful level of abstraction within computer systems, the operating-system-provided level of abstraction is nonetheless associated with difficulties and challenges for developers and users of application programs and other higher-level computational entities. One difficulty arises from the fact that there are many different operating systems that run within various different types of computer hardware. In many cases, popular application programs and computational systems are developed to run on only a subset of the available operating systems and can therefore be executed within only a subset of the various different types of computer systems on which the operating systems are designed to run. Often, even when an application program or other computational system is ported to additional operating systems, the application program or other computational system can nonetheless run more efficiently on the operating systems for which the application program or other computational system was originally targeted. Another difficulty arises from the increasingly distributed nature of computer systems. Although distributed operating systems are the subject of considerable research and development efforts, many of the popular operating systems are designed primarily for execution on a single computer system. In many cases, it is difficult to move application programs, in real time, between the different computer systems of a distributed computer system for high-availability, fault-tolerance, and load-balancing purposes. The problems are even greater in heterogeneous distributed computer systems which include different types of hardware and devices running different types of operating systems. Operating systems continue to evolve, as a result of which certain older application programs and other computational entities may be incompatible with more recent versions of operating systems for which they are targeted, creating compatibility issues that are particularly difficult to manage in large distributed systems.

For all of these reasons, a higher level of abstraction, referred to as the “virtual machine,” has been developed and evolved to further abstract computer hardware in order to address many difficulties and challenges associated with traditional computing systems, including the compatibility issues discussed above. FIGS. 5A-D illustrate several types of virtual machine and virtual-machine execution environments. FIGS. 5A-B use the same illustration conventions as used in FIG. 4. FIG. 5A shows a first type of virtualization. The computer system 500 in FIG. 5A includes the same hardware layer 502 as the hardware layer 402 shown in FIG. 4. However, rather than providing an operating system layer directly above the hardware layer, as in FIG. 4, the virtualized computing environment illustrated in FIG. 5A features a virtualization layer 504 that interfaces through a virtualization-layer/hardware-layer interface 506, equivalent to interface 416 in FIG. 4, to the hardware. The virtualization layer provides a hardware-like interface 508 to a number of virtual machines, such as virtual machine 510, executing above the virtualization layer in a virtual-machine layer 512. Each virtual machine includes one or more application programs or other higher-level computational entities packaged together with an operating system, referred to as a “guest operating system,” such as application 514 and guest operating system 516 packaged together within virtual machine 510. Each virtual machine is thus equivalent to the operating-system layer 404 and application-program layer 406 in the general-purpose computer system shown in FIG. 4. Each guest operating system within a virtual machine interfaces to the virtualization-layer interface 508 rather than to the actual hardware interface 506. The virtualization layer partitions hardware resources into abstract virtual-hardware layers to which each guest operating system within a virtual machine interfaces. The guest operating systems within the virtual machines, in general, are unaware of the virtualization layer and operate as if they were directly accessing a true hardware interface. The virtualization layer ensures that each of the virtual machines currently executing within the virtual environment receive a fair allocation of underlying hardware resources and that all virtual machines receive sufficient resources to progress in execution. The virtualization-layer interface 508 may differ for different guest operating systems. For example, the virtualization layer is generally able to provide virtual hardware interfaces for a variety of different types of computer hardware. This allows, as one example, a virtual machine that includes a guest operating system designed for a particular computer architecture to run on hardware of a different architecture. The number of virtual machines need not be equal to the number of physical processors or even a multiple of the number of processors.

The virtualization layer includes a virtual-machine-monitor module 518 (“VMM”) that virtualizes physical processors in the hardware layer to create virtual processors on which each of the virtual machines executes. For execution efficiency, the virtualization layer attempts to allow virtual machines to directly execute non-privileged instructions and to directly access non-privileged registers and memory. However, when the guest operating system within a virtual machine accesses virtual privileged instructions, virtual privileged registers, and virtual privileged memory through the virtualization-layer interface 508, the accesses result in execution of virtualization-layer code to simulate or emulate the privileged resources. The virtualization layer additionally includes a kernel module 520 that manages memory, communications, and data-storage machine resources on behalf of executing virtual machines (“VM kernel”). The VM kernel, for example, maintains shadow page tables on each virtual machine so that hardware-level virtual-memory facilities can be used to process memory accesses. The VM kernel additionally includes routines that implement virtual communications and data-storage devices as well as device drivers that directly control the operation of underlying hardware communications and data-storage devices. Similarly, the VM kernel virtualizes various other types of I/O devices, including keyboards, optical-disk drives, and other such devices. The virtualization layer essentially schedules execution of virtual machines much like an operating system schedules execution of application programs, so that the virtual machines each execute within a complete and fully functional virtual hardware layer.

FIG. 5B illustrates a second type of virtualization. In FIG. 5B, the computer system 540 includes the same hardware layer 542 and software layer 544 as the hardware layer 402 shown in FIG. 4. Several application programs 546 and 548 are shown running in the execution environment provided by the operating system. In addition, a virtualization layer 550 is also provided, in computer 540, but, unlike the virtualization layer 504 discussed with reference to FIG. 5A, virtualization layer 550 is layered above the operating system 544, referred to as the “host OS,” and uses the operating system interface to access operating-system-provided functionality as well as the hardware. The virtualization layer 550 comprises primarily a VMM and a hardware-like interface 552, similar to hardware-like interface 508 in FIG. 5A. The virtualization-layer/hardware-layer interface 552, equivalent to interface 416 in FIG. 4, provides an execution environment for a number of virtual machines 556-558, each including one or more application programs or other higher-level computational entities packaged together with a guest operating system.

While the traditional virtual-machine-based virtualization layers, described with reference to FIGS. 5A-B, have enjoyed widespread adoption and use in a variety of different environments, from personal computers to enormous distributed computing systems, traditional virtualization technologies are associated with computational overheads. While these computational overheads have been steadily decreased, over the years, and often represent ten percent or less of the total computational bandwidth consumed by an application running in a virtualized environment, traditional virtualization technologies nonetheless involve computational costs in return for the power and flexibility that they provide. Another approach to virtualization is referred to as operating-system-level virtualization (“OSL virtualization”). FIG. 5C illustrates the OSL-virtualization approach. In FIG. 5C, as in previously discussed FIG. 4, an operating system 404 runs above the hardware 402 of a host computer. The operating system provides an interface for higher-level computational entities, the interface including a system-call interface 428 and exposure to the non-privileged instructions and memory addresses and registers 426 of the hardware layer 402. However, unlike in FIG. 5A, rather than applications running directly above the operating system, OSL virtualization involves an OS-level virtualization layer 560 that provides an operating-system interface 562-564 to each of one or more containers 566-568. The containers, in turn, provide an execution environment for one or more applications, such as application 570 running within the execution environment provided by container 566. The container can be thought of as a partition of the resources generally available to higher-level computational entities through the operating system interface 430. While a traditional virtualization layer can simulate the hardware interface expected by any of many different operating systems, OSL virtualization essentially provides a secure partition of the execution environment provided by a particular operating system. As one example, OSL virtualization provides a file system to each container, but the file system provided to the container is essentially a view of a partition of the general file system provided by the underlying operating system. In essence, OSL virtualization uses operating-system features, such as name space support, to isolate each container from the remaining containers so that the applications executing within the execution environment provided by a container are isolated from applications executing within the execution environments provided by all other containers. As a result, a container can be booted up much faster than a virtual machine, since the container uses operating-system-kernel features that are already available within the host computer. Furthermore, the containers share computational bandwidth, memory, network bandwidth, and other computational resources provided by the operating system, without resource overhead allocated to virtual machines and virtualization layers. Again, however, OSL virtualization does not provide many desirable features of traditional virtualization. As mentioned above, OSL virtualization does not provide a way to run different types of operating systems for different groups of containers within the same host system, nor does OSL-virtualization provide for live migration of containers between host computers, as does traditional virtualization technologies.

FIG. 5D illustrates an approach to combining the power and flexibility of traditional virtualization with the advantages of OSL virtualization. FIG. 5D shows a host computer similar to that shown in FIG. 5A, discussed above. The host computer includes a hardware layer 502 and a virtualization layer 504 that provides a simulated hardware interface 508 to an operating system 572. Unlike in FIG. 5A, the operating system interfaces to an OSL-virtualization layer 574 that provides container execution environments 576-578 to multiple application programs. Running containers above a guest operating system within a virtualized host computer provides many of the advantages of traditional virtualization and OSL virtualization. Containers can be quickly booted in order to provide additional execution environments and associated resources to new applications. The resources available to the guest operating system are efficiently partitioned among the containers provided by the OSL-virtualization layer 574. Many of the powerful and flexible features of the traditional virtualization technology can be applied to containers running above guest operating systems including live migration from one host computer to another, various types of high-availability and distributed resource sharing, and other such features. Containers provide share-based allocation of computational resources to groups of applications with guaranteed isolation of applications in one container from applications in the remaining containers executing above a guest operating system. Moreover, resource allocation can be modified at run time between containers. The traditional virtualization layer provides flexible and easy scaling and a simple approach to operating-system upgrades and patches. Thus, the use of OSL virtualization above traditional virtualization, as illustrated in FIG. 5D, provides much of the advantages of both a traditional virtualization layer and the advantages of OSL virtualization. Note that, although only a single guest operating system and OSL virtualization layer as shown in FIG. 5D, a single virtualized host system can run multiple different guest operating systems within multiple virtual machines, each of which supports one or more containers.

A virtual machine or virtual application, described below, is encapsulated within a data package for transmission, distribution, and loading into a virtual-execution environment. One public standard for virtual-machine encapsulation is referred to as the “open virtualization format” (“OVF”). The OVF standard specifies a format for digitally encoding a virtual machine within one or more data files. FIG. 6 illustrates an OVF package. An OVF package 602 includes an OVF descriptor 604, an OVF manifest 606, an OVF certificate 608, one or more disk-image files 610-611, and one or more resource files 612-614. The OVF package can be encoded and stored as a single file or as a set of files. The OVF descriptor 604 is an XML document 620 that includes a hierarchical set of elements, each demarcated by a beginning tag and an ending tag. The outermost, or highest-level, element is the envelope element, demarcated by tags 622 and 623. The next-level element includes a reference element 626 that includes references to all files that are part of the OVF package, a disk section 628 that contains meta information about all of the virtual disks included in the OVF package, a networks section 630 that includes meta information about all of the logical networks included in the OVF package, and a collection of virtual-machine configurations 632 which further includes hardware descriptions of each virtual machine 634. There are many additional hierarchical levels and elements within a typical OVF descriptor. The OVF descriptor is thus a self-describing XML file that describes the contents of an OVF package. The OVF manifest 606 is a list of cryptographic-hash-function-generated digests 636 of the entire OVF package and of the various components of the OVF package. The OVF certificate 608 is an authentication certificate 640 that includes a digest of the manifest and that is cryptographically signed. Disk image files, such as disk image file 610, are digital encodings of the contents of virtual disks and resource files 612 are digitally encoded content, such as operating-system images. A virtual machine or a collection of virtual machines encapsulated together within a virtual application can thus be digitally encoded as one or more files within an OVF package that can be transmitted, distributed, and loaded using well-known tools for transmitting, distributing, and loading files. A virtual appliance is a software service that is delivered as a complete software stack installed within one or more virtual machines that is encoded within an OVF package.

The advent of virtual machines and virtual environments has alleviated many of the difficulties and challenges associated with traditional general-purpose computing. Machine and operating-system dependencies can be significantly reduced or entirely eliminated by packaging applications and operating systems together as virtual machines and virtual appliances that execute within virtual environments provided by virtualization layers running on many different types of computer hardware. A next level of abstraction, referred to as virtual data centers which are one example of a broader virtual-infrastructure category, provide a data-center interface to virtual data centers computationally constructed within physical data centers. FIG. 7 illustrates virtual data centers provided as an abstraction of underlying physical-data-center hardware components. In FIG. 7, a physical data center 702 is shown below a virtual-interface plane 704. The physical data center consists of a virtual-infrastructure management server (“VI-management-server”) 706 and any of various different computers, such as PCs 708, on which a virtual-data-center management interface may be displayed to system administrators and other users. The physical data center additionally includes generally large numbers of server computers, such as server computer 710, that are coupled together by local area networks, such as local area network 712 that directly interconnects server computer 710 and 714-720 and a mass-storage array 722. The physical data center shown in FIG. 7 includes three local area networks 712, 724, and 726 that each directly interconnects a bank of eight servers and a mass-storage array. The individual server computers, such as server computer 710, each includes a virtualization layer and runs multiple virtual machines. Different physical data centers may include many different types of computers, networks, data-storage systems and devices connected according to many different types of connection topologies. The virtual-data-center abstraction layer 704, a logical abstraction layer shown by a plane in FIG. 7, abstracts the physical data center to a virtual data center comprising one or more resource pools, such as resource pools 730-732, one or more virtual data stores, such as virtual data stores 734-736, and one or more virtual networks. In certain implementations, the resource pools abstract banks of physical servers directly interconnected by a local area network.

The virtual-data-center management interface allows provisioning and launching of virtual machines with respect to resource pools, virtual data stores, and virtual networks, so that virtual-data-center administrators need not be concerned with the identities of physical-data-center components used to execute particular virtual machines. Furthermore, the VI-management-server includes functionality to migrate running virtual machines from one physical server to another in order to optimally or near optimally manage resource allocation, provide fault tolerance, and high availability by migrating virtual machines to most effectively utilize underlying physical hardware resources, to replace virtual machines disabled by physical hardware problems and failures, and to ensure that multiple virtual machines supporting a high-availability virtual appliance are executing on multiple physical computer systems so that the services provided by the virtual appliance are continuously accessible, even when one of the multiple virtual appliances becomes compute bound, data-access bound, suspends execution, or fails. Thus, the virtual data center layer of abstraction provides a virtual-data-center abstraction of physical data centers to simplify provisioning, launching, and maintenance of virtual machines and virtual appliances as well as to provide high-level, distributed functionalities that involve pooling the resources of individual physical servers and migrating virtual machines among physical servers to achieve load balancing, fault tolerance, and high availability.

FIG. 8 illustrates virtual-machine components of a VI-management-server and physical servers of a physical data center above which a virtual-data-center interface is provided by the VI-management-server. The VI-management-server 802 and a virtual-data-center database 804 comprise the physical components of the management component of the virtual data center. The VI-management-server 802 includes a hardware layer 806 and virtualization layer 808 and runs a virtual-data-center management-server virtual machine 810 above the virtualization layer. Although shown as a single server in FIG. 8, the VI-management-server (“VI management server”) may include two or more physical server computers that support multiple VI-management-server virtual appliances. The virtual machine 810 includes a management-interface component 812, distributed services 814, core services 816, and a host-management interface 818. The management interface is accessed from any of various computers, such as the PC 708 shown in FIG. 7. The management interface allows the virtual-data-center administrator to configure a virtual data center, provision virtual machines, collect statistics and view log files for the virtual data center, and to carry out other, similar management tasks. The host-management interface 818 interfaces to virtual-data-center agents 824, 825, and 826 that execute as virtual machines within each of the physical servers of the physical data center that is abstracted to a virtual data center by the VI management server.

The distributed services 814 include a distributed-resource scheduler that assigns virtual machines to execute within particular physical servers and that migrates virtual machines in order to most effectively make use of computational bandwidths, data-storage capacities, and network capacities of the physical data center. The distributed services further include a high-availability service that replicates and migrates virtual machines in order to ensure that virtual machines continue to execute despite problems and failures experienced by physical hardware components. The distributed services also include a live-virtual-machine migration service that temporarily halts execution of a virtual machine, encapsulates the virtual machine in an OVF package, transmits the OVF package to a different physical server, and restarts the virtual machine on the different physical server from a virtual-machine state recorded when execution of the virtual machine was halted. The distributed services also include a distributed backup service that provides centralized virtual-machine backup and restore.

The core services provided by the VI management server include host configuration, virtual-machine configuration, virtual-machine provisioning, generation of virtual-data-center alarms and events, ongoing event logging and statistics collection, a task scheduler, and a resource-management module. Each physical server 820-822 also includes a host-agent virtual machine 828-830 through which the virtualization layer can be accessed via a virtual-infrastructure application programming interface (“API”). This interface allows a remote administrator or user to manage an individual server through the infrastructure API. The virtual-data-center agents 824-826 access virtualization-layer server information through the host agents. The virtual-data-center agents are primarily responsible for offloading certain of the virtual-data-center management-server functions specific to a particular physical server to that physical server. The virtual-data-center agents relay and enforce resource allocations made by the VI management server, relay virtual-machine provisioning and configuration-change commands to host agents, monitor and collect performance statistics, alarms, and events communicated to the virtual-data-center agents by the local host agents through the interface API, and to carry out other, similar virtual-data-management tasks.

The virtual-data-center abstraction provides a convenient and efficient level of abstraction for exposing the computational resources of a cloud-computing facility to cloud-computing-infrastructure users. A cloud-director management server exposes virtual resources of a cloud-computing facility to cloud-computing-infrastructure users. In addition, the cloud director introduces a multi-tenancy layer of abstraction, which partitions virtual data centers (“VDCs”) into tenant-associated VDCs that can each be allocated to a particular individual tenant or tenant organization, both referred to as a “tenant.” A given tenant can be provided one or more tenant-associated VDCs by a cloud director managing the multi-tenancy layer of abstraction within a cloud computing facility. The cloud services interface (308 in FIG. 3) exposes a virtual-data-center management interface that abstracts the physical data center.

FIG. 9 illustrates a cloud-director level of abstraction. In FIG. 9, three different physical data centers 902-904 are shown below planes representing the cloud-director layer of abstraction 906-908. Above the planes representing the cloud-director level of abstraction, multi-tenant virtual data centers 910-912 are shown. The resources of these multi-tenant virtual data centers are securely partitioned in order to provide secure virtual data centers to multiple tenants, or cloud-services-accessing organizations. For example, a cloud-services-provider virtual data center 910 is partitioned into four different tenant-associated virtual-data centers within a multi-tenant virtual data center for four different tenants 916-919. Each multi-tenant virtual data center is managed by a cloud director comprising one or more cloud-director servers 920-922 and associated cloud-director databases 924-926. Each cloud-director server or servers runs a cloud-director virtual appliance 930 that includes a cloud-director management interface 932, a set of cloud-director services 934, and a virtual-data-center management-server interface 936. The cloud-director services include an interface and tools for provisioning multi-tenant virtual data center virtual data centers on behalf of tenants, tools and interfaces for configuring and managing tenant organizations, tools and services for organization of virtual data centers and tenant-associated virtual data centers within the multi-tenant virtual data center, services associated with template and media catalogs, and provisioning of virtualization networks from a network pool. Templates are virtual machines that each contains an OS and/or one or more virtual machines containing applications. A template may include much of the detailed contents of virtual machines and virtual appliances that are encoded within OVF packages, so that the task of configuring a virtual machine or virtual appliance is significantly simplified, requiring only deployment of one OVF package. These templates are stored in catalogs within a tenant's virtual-data center. These catalogs are used for developing and staging new virtual appliances and published catalogs are used for sharing templates in virtual appliances across organizations. Catalogs may include OS images and other information relevant to construction, distribution, and provisioning of virtual appliances.

Considering FIGS. 7 and 9, the VI management server and cloud-director layers of abstraction can be seen, as discussed above, to facilitate employment of the virtual-data-center concept within private and public clouds. However, this level of abstraction does not fully facilitate aggregation of single-tenant and multi-tenant virtual data centers into heterogeneous or homogeneous aggregations of cloud-computing facilities.

FIG. 10 illustrates virtual-cloud-connector nodes (“VCC nodes”) and a VCC server, components of a distributed system that provides multi-cloud aggregation and that includes a cloud-connector server and cloud-connector nodes that cooperate to provide services that are distributed across multiple clouds. VMware vCloud™ VCC servers and nodes are one example of VCC server and nodes. In FIG. 10, seven different cloud-computing facilities are illustrated 1002-1008. Cloud-computing facility 1002 is a private multi-tenant cloud with a cloud director 1010 that interfaces to a VI management server 1012 to provide a multi-tenant private cloud comprising multiple tenant-associated virtual data centers. The remaining cloud-computing facilities 1003-1008 may be either public or private cloud-computing facilities and may be single-tenant virtual data centers, such as virtual data centers 1003 and 1006, multi-tenant virtual data centers, such as multi-tenant virtual data centers 1004 and 1007-1008, or any of various different kinds of third-party cloud-services facilities, such as third-party cloud-services facility 1005. An additional component, the VCC server 1014, acting as a controller is included in the private cloud-computing facility 1002 and interfaces to a VCC node 1016 that runs as a virtual appliance within the cloud director 1010. A VCC server may also run as a virtual appliance within a VI management server that manages a single-tenant private cloud. The VCC server 1014 additionally interfaces, through the Internet, to VCC node virtual appliances executing within remote VI management servers, remote cloud directors, or within the third-party cloud services 1018-1023. The VCC server provides a VCC server interface that can be displayed on a local or remote terminal, PC, or other computer system 1026 to allow a cloud-aggregation administrator or other user to access VCC-server-provided aggregate-cloud distributed services. In general, the cloud-computing facilities that together form a multiple-cloud-computing aggregation through distributed services provided by the VCC server and VCC nodes are geographically and operationally distinct.

Currently Disclosed Methods and Systems

FIG. 11 illustrates an example secret and a traditional context for secure secret storage and retrieval. The example secret 1102 is numeric or alphanumeric data stored in a sequence of bytes 1104, 1105, and 1107. A secret may be a private encryption key, numeric or alphanumeric data from which cryptographic keys and other secondary secrets are automatically derived, and other types of data that, if revealed to, or discovered by, another system, device, or individual, could compromise the security of the computer system or other processor-controlled device that stores and uses the secret. In general, secrets represent a relatively small amount of the total stored data within the computer system or other processor-controlled device. For this reason, a computer system can expend significantly greater computational resources to secure secrets than can be expended for securing larger volumes of data, which can alternatively be secured by more efficient encryption techniques that employ one or more secret encryption keys. Similarly, private/public-encryption-key-based methods are often used for establishing secure communications channels, but once the secure communications channels are established, more efficient symmetric-encryption-key-based technologies are used to secure message data transferred through the secure communications channels.

In the lower portion of FIG. 11, a typical computer system 1110 is shown, including various secure data-storage devices that may be used to store secrets. The computer system 1110 includes applications 112, an operating system 114, a virtualization layer 116, and a hardware layer 1118. The computer system is connected through a network-interface controller 1120 to an electronic communications media 1122 through which the computer system transmits data to, and receives data from, remote computer systems. The hardware resources within the computer system, including memory 1124 and mass-storage devices 1126, may be accessed by remote computer systems, under various scenarios, which represents a significant vulnerability to exposure of confidential information and, ultimately, to loss of control of the computer system to remote entities. When private encryption keys are stored in the memory of the computer system, even temporarily, they may be revealed to malicious remote computer systems and devices through security breaches, in turn compromising the security of encrypted data stored in mass-storage devices 1126.

To address the above-described types of security problems, hardware security modules (“HSMs”) 1128 and trusted platform modules (“TPMs”) 1130 have been developed to provide secure secret storage. These secure-storage devices may include factory-installed hardware-level private encryption keys, encryption-key generators, and digital certificates, and may provide various types of services based on the hardware-level private encryption keys and internally generated encryption keys, including encryption and decryption of data stored within mass-storage devices. These devices are significantly more resilient to security breaches than the general hardware resources of the computer system. However, these devices involve additional hardware expenses and hardware-integration expenses and the security measures based on these devices may themselves be vulnerable to various types of attack.

The current document is directed to an alternative approach for secure storage of secrets, such as private encryption keys, that is implemented in distributed computing systems without relying on specialized secure-storage hardware devices, such as HSMs, although specialized secure-storage hardware devices may be used, in certain implementations, to provide an extra level of security. FIG. 12 illustrates the alternative approach for secure storage of secrets disclosed in the current document. Each secret, such as secret 1202, is partitioned into multiple shares. In the example shown in FIG. 12, the secret 1202 is partitioned into 6 shares, including a first share 1204. The secret shares are distributed among a set of control-cluster (“CC”) nodes 1206 of a distributed-secure-storage (“DSS”) system. In the example shown in FIG. 12, there are six CC nodes 1208-1213 in the set of control-cluster nodes. The CC nodes are generally servers that include secure-storage-system modules. The servers may be traditional physical servers, in which the secure-storage-system modules run above an operating system that interfaces to physical hardware, may be virtual servers, in which the secure-storage-system modules run above a guest operating system that, in turn, runs in an environment provided by a virtualization later that runs above physical hardware, may be server functionality running within containers executing within a physical server, or may be alternatively implemented. The CC nodes each includes a communications interface and an application-programming interface (“API”), such as the communications interface 1214 and the API 1216 shown within CC node 1208. A DSS-client agent 1218 is a virtual security layer included in client computer systems, such as client system 1220, that interfaces through electronic communications to the APIs of the CC nodes. Any particular secret enters the DSS system through a security manager (“SM”), discussed below, and resides in SM memory transiently, for only the time needed to partition the secret into secret shares. Following partitioning, the secret is deleted from memory and never again reconstructed within the SM or CC nodes. When a client system needs to access a service based on a securely stored secret or, in certain implementations, the secret itself, the client system directs the DSS-client agent 1218 to request secret shares or derived-data shares from the CC nodes and reconstructs the secret or the derived data in client memory controlled by the DSS-client agent. In most cases, when a secret is reconstructed by the DSS-client agent, the secret is used by the DSS-client agent to perform a task or service on behalf of the client system, such as using a secret private encryption key to establish a secure communications channel with a remote computer system, and is not stored in mass storage or directly accessibly to the system layers or application layers within the client computer. More often, the secret shares are used within the CC nodes to generate derived-data shares, and the derived-data shares are transmitted to requesting DSS-client agents, which reconstruct the derived data from the derived-data shares. Thus, secrets are partitioned into secret shares, with each secret share stored in a different CC node within the DSS system.

FIG. 13 illustrates the DSS system. The DSS system 1302 includes multiple CC nodes, such as CC nodes 1304-1309 shown in FIG. 13, and an SM 1310. The SM includes an API 1312 through which the SM provides services to SM clients, which may include personal computers and other processor-controlled devices used by system administrators and other privileged DSS users as well as non-privileged client computers. The SM includes an SM interface 1314 through which SM functionalities are accessed by the CC nodes. The CC nodes, such as CC node 1304, additionally include an SM interface, such as SM interface 1316 in CC node 1304, through which the SM accesses certain CC-node functionalities and services. The SM is a trusted and secure server that often resides within a private data center or in other secure environments. By contrast, the CC nodes may be distributed across multiple different data centers, including public cloud-computing facilities, may be implemented above different hardware and systems platforms, and a preferably managed by different administrators.

FIG. 14 illustrates a DSS system and a DSS-system client. The DSS system includes an SM 1402 in a first private data center 1404 and five CC nodes 1406-1410 distributed among the private data center 1404 and two cloud-computing facilities 1412 and 1414. The DSS-system client 1416 obtains a secret from the DSS system by requesting secret shares from CC nodes, as indicated by arrows in FIG. 14, including arrow 1418. The DSS-system client may be a physical or virtual server within the private data center 1404, may be a physical or virtual server within another data center or cloud-computing facility, or may be a personal computer, smart phone, or other processor-controlled device used by a human client of the DSS system.

FIG. 15 provides additional details about secrets and secret shares. As discussed above, with reference to FIG. 11, the secret 1502 is a number, string, or other numeric or alphanumeric data encoded in a series of bytes. The secret is divided into l portions, or secret shares, each labeled with an integer. Only k secret shares are needed to reconstruct the original secret. A set K 1504 of k secret shares 1506-1510 is shown in the middle of FIG. 15. There is a function F(K) 1512 that receives a set of K secret shares and returns the original secret 1502. The fact that only k out of l secret shares are needed to reconstruct the original secret provides resilience to failure or corruption of up to l-k CC nodes.

FIG. 16 illustrates secret reconstruction by a DSS-client agent. In the example shown in FIG. 16, there are 6 CC nodes 1602-1607. The DSS-client agent 1610 within a client system 1612 receives secret shares from the first, third, and fifth CC nodes, represented by arrows 1614-1616 in FIG. 16, and applies the above-discussed function F(K) to the set of secret shares {S₁, S₃, S₅} to recover the secret S 1618.

In order to provide secure secret storage, the DSS system employs secure communications between DSS-client agents, CC nodes, the SM, and administrative clients of the SM. Secure communications includes both data encryption and two-way authentication of each pair of communicating entities. Furthermore, as discussed above, secrets are not stored in mass storage within the CC nodes, only transiently reside in SM memory prior to distribution of secret shares to CC nodes, and, when reconstructed in DSS clients, are reconstructed by DSS-client agents for temporary, in-memory use. Other types of data maintained by the SM and CC nodes, discussed below, are encrypted before storage in mass storage devices within the DSS system.

FIG. 17 illustrates an additional security technique employed by the DSS system and additional details about secrets stored by the DSS system. In FIG. 17, a given secret is illustrated at different points in time starting with time t₁ 1702 and ending with time t_(m) 1704. At each point in time, the secret conceptually consists of l+1 secret shares, with data encodings of the secret shares S₁, S₂, . . . , S_(l) distributed across a set of l CC nodes. The secret share S₀ is never encoded, never stored in memory, and is not distributed, but may be recovered, by the DSS-client agent, using an interpolation process represented by the above-discussed function F(K). In other words, the secret share S₀ is the original secret, but is only reconstructed or recovered, in certain cases, by the DSS system within the DSS-client agent. Viewing the representation of the secret at each of the time points shown in FIG. 17, it can be seen that the secret share S₀ does not change, over time, but the secret shares S₁, S₂, . . . , S_(l) change from one time point to another, as represented by the crosshatching, dotting, and other patterns shown within the secret shares S₁, S₂, . . . , S_(l) at the different time points. Each of the time-point-associated changes in the secret shares S₁, S₂, . . . , S_(l) is referred to as a “secret-share refresh.” In order to reconstruct the underlying secret, at least k secret shares within the same refresh period are needed. Secret shares from different refresh periods are not compatible with one another. Altering the secret shares periodically or intermittently frustrates various types of attempts by malicious actors to acquire a sufficient number of secret shares to reconstruct the secret. For example, even were a malicious entity aware of the IP addresses of the CC nodes and able to surmount the many security features that protect the memory and mass-storage resources of the CC nodes from remote access, the refresh interval can be configured to be sufficiently short to prevent the malicious entity from accessing k secret shares corresponding to a particular secret within k different CC nodes prior to the next secret-share refresh.

In many implementation, in order to increase resilience of secure secret storage to various types of malicious attacks and to prevent inadvertent exposure of secrets by client computers, secrets are never reconstructed by the DSS-client agents. FIGS. 18-19 illustrates an example of how securely stored secrets may be employed for providing a service or result without ever being reconstructed from the distributed secret shares in memory. In FIG. 18, a service request 1802 transmitted by a DSS-client agent is illustrated as a dashed rectangle that contains an identifier 1804 as well as additional information 1806. The service request 1802 is forwarded to each of 6 CC nodes, represented by dashed rectangles 1808-1813, which together comprise the secure secret storage components of the DSS system, represented by the enclosing dashed rectangle 1814. Within each CC node, such as in CC node 1808, the service request is processed by using the identifier 1804 to access a secret share 1816 stored by the CC node of the secret identified by the identifier. The secret share is then used, along with the additional information 1818 extracted from the service request, to generate a corresponding result share 1820. Each CC node generates a different result share 1820-1825. These results shares are returned to the DSS-client agent within the service-requesting client, which then reconstructs a result 1830 from the individual result shares. As shown in FIG. 19, this process can be conceptualized as employing a securely stored secret 1902 along with additional information 1904 to generate a result 1906, but, as shown in FIG. 18, the result is generated piecewise by multiple CC nodes and only instantiated within the DSS-client agent. One example is the use of a private encryption key 1908 associated with a client, securely stored as a secret within the DSS system, and a public-key digital certificate 1910, to produce a signed digital certificate 1912 that provides verification, to a recipient, that the public key contained in the certificate corresponds to the client's private key. In this case, the client's private key is never reconstructed within the DSS system or within the client, so that the client's private key is never vulnerable to exposure to, or theft by, remote computer systems or other processor-controlled devices. Thus, by using securely stored secrets within the DSS system to produce results shares that are transmitted to service-requesting clients, the DSS system ensures that secrets are, in fact, securely stored and invulnerable to most, if not all, types of external attacks. When each of the CC nodes is administered and controlled by a different entity, distributed among different data centers and/or cloud-computing facilities, and implemented on different types of hardware and system platforms, the possibility of an internal security breach is extremely small.

Next, a computational framework for secure secret storage is provided using mathematical notation. It should be emphasized, at the onset, that the computational framework is neither abstract nor mathematical, but is instead a computational process carried out by physical components of one or more computer systems. The various quantities expressed in the mathematical notation, such as secrets, may be encoded within many sequential bytes of memory, and the various arithmetic and finite-field-arithmetic operations described by the mathematical notation generally require implementation by computational processes rather than implementation by execution of single hardware-level and hardware-provided instructions.

A secret, regardless of whether the secret is interpreted as a number, a string of symbols, or any of many different complex data types, it is considered in the following discussion to be a positive integer:

Secret S ∈ N.   (1)

As discussed above, l distributable secret shares can be generated from a given secret:

S→S₁, S₂, S₃, . . . , S_(l).   (2)

As also discussed above, a secret S conceptually comprises a set of l+1 secret shares:

S≡{S₀, S₁, S₂, S₃, . . . , S_(l)}  (3)

The first component S₀ is the secret. The remaining l components {S₁, S₂, S₃, . . . , S_(l)} are distributed to CC nodes. A subset K of the remaining l components of cardinality k can be used to recover the secret S₀ (or S) via a function F( ) applied to the subset K:

K ⊂ S, S₀ ∉ K,   (4)

|K|=k,   (5)

1<k≤l,   (6)

S₀=F(K).   (7)

In one implementation, a secret S is initially encoded as a finite-field polynomial by the SM in order to partition the secret S into secret shares in a way that allows the secret S to be recovered from a subset of the secret shares. First, a number N is selected and a number P is computed from N, as follows:

N ∉ N, N? S₀,   (8)

P=ϕ(N), where ϕ( ) is Euler's totient function,   (9)

ϕ(N)=|{x:x ∈ [1, 2, . . . , N−1]∧ gcd (x,N)=1}|.   (10)

The number P is the number of positive integers less than N that are coprime to N. A finite-field polynomial is then generated, as follows:

f(x)≡(a ₀ +a ₁ x ¹ +a ₂ x ² +. . . +a _(k−1) x ^(k−1)) mod P, where ∀a ₁ , a ₁ <P∧a ₁ is randomly chosen.   (11)

The secret shares are generated from the finite-field polynomial, as follows:

S ₁ =f(m(1)), S ₂ =f(m(2)), . . . , S _(l) =f(m(l)),

where m(i) ∈ [1,2, . . . , l ]AND ∀i, j ∈ [1, 2, . . . , l]i≠j⇒m(i)≠m(j).   (12)

The function m( ) is a map from the ordered positive integers {1, 2, . . . , l} corresponding to l CC nodes to numeric identifiers of the shares distributed to each of the CC nodes. This mapping provides for assigning shares to CC nodes independently of an ordering of the CC nodes. However, for simplicity of description, the following discussion assumes that the ordering of the secret shares matches the ordering of the CC nodes:

S₁=f(1), S₂=f(2), . . . , S_(l)=f(l).   (13)

An index function returns the index of the secret share in a set of secret shares K with respect to a sequential ordering of the secret shares:

index(K,i)=index of K_(i) in the ordered set S.   (14)

A DSS-client agent uses a Lagrangian-multipliers interpolation method to recover a value S′₀ related to the original secret S₀=f (0) from a set of k secret shares K:

$\begin{matrix} {{S_{0}^{\prime} = {{F(K)} = {\frac{1}{\Delta} \cdot {\sum\limits_{j = 1}^{k}{\left( {K_{j} \cdot \Delta \cdot \frac{\prod\limits_{{i = 1},{i \neq j}}^{k}{{index}\left( {K,i} \right)}}{{\prod\limits_{{i = 1},{i \neq j}}^{k}{{index}\left( {K,i} \right)}} - {{index}\left( {K,j} \right)}}} \right){mod}{\mspace{11mu} \;}N}}}}},\mspace{20mu} {{{where}\mspace{14mu} \Delta} = {l\;!}},} & (15) \\ {\mspace{20mu} {{S_{0}^{\prime} = {{F(K)} = {\frac{1}{\Delta} \cdot {\overset{k}{\sum\limits_{j = 1}}{C_{j}K_{j}{mod}\mspace{14mu} N}}}}},\mspace{20mu} {{{where}\mspace{14mu} C_{j}} = {\sum\limits_{j = 1}^{k}{\Delta \cdot {\frac{\prod\limits_{{i = 1},{i \neq j}}^{k}{{index}\left( {K,i} \right)}}{{\prod\limits_{{i = 1},{i \neq j}}^{k}{{index}\left( {K,i} \right)}} - {{index}\left( {K,j} \right)}}.}}}}}} & (16) \end{matrix}$

Essentially, this method relies on the fact that, for a k-order polynomial, k+1 distinct points are needed to determine an expression for the polynomial.

The value S′₀ is:

S′ ₀=(a ₀) mod P=a ₀ +jP.   (17)

According to Euler's Theorem,

x=y mod ϕ(N)∧ gcd(b, N)=1→b _(x) =b ^(y) mod N.   (18)

Therefore,

b^(S′) ⁰ =b^(a) ⁰ (mod N),   (19)

a ₀ <P∧a ₀ ∈ N→a ₀ is minimum positive value for which b ^(a) ⁰ =b ^(S′) ⁰ mod N.   (20)

Thus, a secret S is initially encoded, when received by the SM, as a finite-field polynomial, using which the SM generates secret shares for distribution to the CC nodes. A DSS-client agent, upon receiving at least k of l secret shares from the CC nodes can then use Lagrangian-multiplayer interpolation and Euler's Theorem to recover the secret S.

FIGS. 20A-C provide numeric examples of a polynomial encoding of a secret, generation of secret shares, recovery of the secret from k secret shares, and secret-share verification. FIGS. 20A-B provided numeric example of the process described above in mathematical notation. In this example, the secret is the positive integer 124 (2002 in FIG. 20A). The integer N is selected to be 1739 and the integer P is computed to be 1656 (2004 in FIG. 20A). For this example, there are l=6 CC nodes and at least k=4 secret shares are needed to recover the original secret (2006 in FIG. 20A). A finite-field polynomial is selected (2008 in FIG. 20A), from which six secret shares are generated (2010 in FIG. 20A). Given the set K={S2, S4, S5, and S6} (2012 in FIG. 20A), with corresponding share-index values 2014, the coefficients for the function F(K), shown above as expression (16), are computed as shown 2016 in the lower portion of FIG. 20A. Then, as shown in the top portion of FIG. 20B, the value S′₀ is computed using the function F(K) 2018. As discussed above with reference to expression (19), the integer 3 raised to the value S′₀ is equal to the integer 3 raised to the value S′₀ modulo N 2019. This allows for the original secret S=S′₀ to be computed 2020 as discussed above with reference to equations (19-20). Of course, there are systematic computational methods for evaluating finite-field exponentials and, as discussed above, while small numerical examples are shown in FIGS. 20A-C, secrets are generally treated as very large positive integers stored in many successive bytes, as a result of which computational processes for evaluating the values expressed in mathematical notation, above, are used in place of simple, single arithmetic operations corresponding to processor instructions.

In order to securely store secrets, the DSS system employs numerous internal security methods, as discussed above. An additional set of security methods, not yet mentioned, relates to designing the DSS system to be resilient to malicious entities assuming control of a subset of the CC nodes as well as to be resilient to intentional or inadvertent secret-share corruption. To address these issues, secret shares are designed to be verifiable, with the verification procedure not requiring reconstruction of the underlying secret to verify any particular secret share generated from the underlying secret.

In order to describe the secret-share verification process, cyclic multiplicative groups are first described. An example of a cyclic multiplicative group is the set of positive integers from 1 to an integer q−1, where q is a prime number:

q ∈ P⇒Q={1, 2, . . . , q−1} is a cyclic multipicative group.   (21)

Multiplication of any two members of a cyclic multiplicative group produces a value corresponding to another member of the cyclic multiplicative group. Furthermore, the cyclic multiplicative group includes the generator from which all other members of the cyclic multiplicative group are generated by multiplying the generator by itself. For example, a cyclic multiplicative group Q with generator g can be constructed as follows:

q=5, Q={1,2,3,4}, g=2.   (22)

The following products illustrate generation of the members of the cyclic multiplicative group Q by generator g:

g⁰=1

g¹=2

g ² =g·g mod q=4

g ³ =g ² ·g mod q=8 mod q=3

g ⁴ =g ² ·g ² mod q=1

g ⁵ =g ³ ·g ² mod q=2

g ⁶ =g ³ ·g ³ mod q=4

g ⁷ =g ⁴ ·g ³ mod q=3

As discussed above, the finite-field polynomial that is used by the SM to encode a secret has the form:

S _(i)=(a ₀ +a ₁i¹ +a ₂i² +. . . +a _(k−1) i ^(k−1)) mod P.   (23)

When i has the value 0, the value of the polynomial is S₀, the original secret encoded by the polynomial. When i has a value selected from the values {1, 2, . . . , l}, the value of the polynomial is the i^(th) secret share S_(i). The integers N and P are generally not prime, but a multiplicative group Q can be defined as:

Q={1, 2, . . . , P−1 },   (24)

g ∈ Q\{1} ∧ gcd (g, N)=1.   (25)

The generator g raised to the value of a secret share S, can be expressed as:

$\begin{matrix} {{g^{S_{i}} = g^{{({a_{0} + {a_{1}i^{2}} + {a_{2}i^{2}} + \ldots + {a_{k - 1}i^{k - 1}}})}{mod}\; P}},} & (26) \\ {\mspace{34mu} {= {g^{a_{0} + {jP} + {a_{1}i^{1}} + {a_{2}i^{2}} + \ldots + {a_{k - 1}i^{k - 1}}}.}}} & (27) \end{matrix}$

The resulting value modulo N is therefore:

g ^(S) 1 mod N=g ^(a) ⁰ ^(+jP+a) ¹ ^(i) ¹ ^(+a) ² ^(i) ² ^(+. . . +a) ^(k−1) ^(i) ^(k−1) mod N.   (28)

Using Euler's Theorem:

a ₀ =a ₀ +jP mod P ∧ gcd (g, N)=1→g ^(a) ⁰ =g ^(a) ¹ ^(+jP) (mod N).   (29)

Therefore, the generator g raised to the value of a secret share S_(i) modulo N can be expressed as:

$\begin{matrix} {{{g^{S_{i}}{mod}\mspace{20mu} N} = {g^{a_{0} + {a_{1}i^{1}} + \ldots + {a_{k - 1}i^{k - 1}}}{mod}\mspace{14mu} N}},} & (30) \\ {\mspace{101mu} {{= {{g^{a_{0}} \cdot g^{a_{1}i^{1\;}} \cdot g^{a_{2}i^{2\;}} \cdot \ldots \cdot g^{a_{k - 1}i^{k - 1}}}{mod}{\mspace{11mu} \;}N}},}} & (31) \\ {\mspace{101mu} {{= {{g^{a_{0}} \cdot \left( g^{a_{1}} \right)^{i^{1}} \cdot \left( g^{a_{2}} \right)^{i^{2}} \cdot \ldots \cdot \left( g^{a_{k - 1}} \right)^{i^{k - 1}}}{mod}\mspace{14mu} N}},}} & (32) \\ {\mspace{101mu} {= {\prod\limits_{0 \leq j < k}{\left( g^{a_{j}} \right)^{i^{j}}{mod}{\mspace{11mu} \;}{N.}}}}} & (33) \end{matrix}$

Thus, the generator g raised to the value of a secret share S_(i) modulo N is equal to the product of the values (g^(a) ^(j) )^(i) ^(j) , where j takes on the values of the indices of the polynomial coefficients. The verification set G can then be constructed as:

G={g ^(a) ⁰ , g ^(a) ¹ , . . . , g ^(a) ^(k−1) } mod N.   (34)

This verification set is generated by the SM along with the secret shares. A verification function V can then be defined for use by entities, such as CC nodes, which receive secret shares to allow the entities to verify that the secret share was, in fact, generated from a polynomial:

$\begin{matrix} {{B = \left\{ {{true},{false}} \right\}},} & (35) \\ {{{V\left( {G,i,S_{i},g} \right)}->{B \equiv {g^{S_{i}}{mod}\mspace{14mu} N}}} = {\prod\limits_{g^{a_{j}} \in G}{\left( g^{a_{j}} \right)^{i^{j}}{mod}\mspace{14mu} {N.}}}} & (36) \end{matrix}$

FIG. 20C illustrates the verification set G and application of the verification function for the numeric example begun in FIGS. 20A-B. The set G is constructed at the top of FIG. 20C 2022. Verification of the first and second shares is illustrated in the sets of equations 2024 and 2026.

Next, the refresh operation is discussed. Again, the discussion begins with the finite-field polynomial secret encoding:

S _(i)=(a ₀ +a ₂i² +. . . +a _(k−1) i ^(k−1)) mod P,   (37)

S _(i) =a ₀ +jP+a ₁ i ¹ +a ₂ i ² +. . . +a _(k−1)i^(k−1).   (38)

To refresh the secret shares, each CC node j generates a new polynomial over the integers S*_(i,j) and a corresponding verification set G*_(j):

$\begin{matrix} {S_{i,1}^{*} = {{b_{1,1}i^{1}} + {b_{1,2}i^{2}} + \ldots + {b_{1,{k - 1}}i^{k - 1}}}} & (39) \\ {{g^{S_{i,1}^{*}}{mod}\mspace{14mu} N} = {g^{{b_{1,1}i^{1}} + {b_{1,2}i^{2}} + \ldots + {b_{1,{k - 1}}i^{k - 1}}}{mod}\mspace{14mu} N}} & (40) \\ {{g^{S_{i,1}^{*}}{mod}\mspace{14mu} N} = {{g^{b_{1,1}{i^{1} \cdot g^{b_{1,2}i^{2}}}} \cdot \ldots \cdot g^{b_{1,{k - 1}}i^{k - 1}}}{mod}\mspace{14mu} N}} & (41) \\ {G_{1}^{*} = \left\{ {g^{b_{1,1}},g^{b_{1,2}},\ldots \mspace{14mu},g^{b_{1,{k - 1}}i^{k - 1}}} \right\}} & (42) \\ {S_{i,2}^{*} = {{b_{2,1}i^{1}} + {b_{2,2}\; i^{2}} + \ldots + {b_{2,{k - 1}}i^{k - 1}}}} & (43) \\ {{g^{S_{i,2}^{*}}{mod}\mspace{14mu} N} = {g^{{b_{2,1}i^{1}} + {b_{2,2}i^{2}} + \ldots + {b_{2,{k - 1}}i^{k - 1}}}{mod}\mspace{14mu} N}} & (44) \\ {{g^{S_{i,2}^{*}}{mod}\mspace{14mu} N} = {{g^{b_{2,1}i^{1}} \cdot g^{b_{2,2}i^{2}} \cdot \ldots \cdot g^{b_{2,{k - 1}}i^{k - 1}}}{mod}{\mspace{11mu} \;}N}} & (45) \\ {{G_{2}^{*} = \left\{ {g^{b_{2,1}},b^{b_{2,2}},\ldots \mspace{14mu},g^{b_{2,{k - 1}}i^{{k - 1}\;}}} \right\}}\vdots} & (46) \\ {S_{i,l}^{*} = {{b_{l,1}i^{1}} + {b_{l,2}i^{2}} + \ldots + {b_{l,{k - 1}}i^{k - 1}}}} & (47) \\ {{g^{S_{i,l}^{*}}{mod}\mspace{14mu} N} = {g^{{b_{l,1}i^{1}} + {b_{l,2}i^{2}} + \ldots + {b_{l,{k - 1}}i^{k - 1}}}{mod}\mspace{14mu} N}} & (48) \\ {{g^{S_{i,2}^{*}}{mod}\mspace{14mu} N} = {{g^{b_{l,1}i^{1}} \cdot g^{b_{l,2}i^{2}} \cdot \ldots \cdot g^{b_{l,{k - 1}}i^{k - 1}}}{mod}\mspace{14mu} N}} & (49) \\ {G_{l}^{*} = {\left\{ {g^{b_{l,1}},g^{b_{{l,2}\;}},\ldots \mspace{14mu},g^{b_{l,{k - 1}}i^{k - 1}}} \right\}.}} & (50) \end{matrix}$

The process of generating the new polynomial over the integers by each CC node can be summarized as:

S* _(i,l≤r≤l) =b _(r,1)i¹ +b _(r,2) i ² +. . . +b _(r,k−) i ^(k−1).   (51)

Each CC node then generates a set of shares from the new polynomial over the integers and transmits a share to each of the other CC nodes, along with the corresponding verification set. Each CC node verifies the new share received from each of the other CC nodes. Finally, each CC node adds together all of the received new shares to produce a sum that is then added to the CC node's current share to produce a new, refreshed share and a new corresponding verification set:

$\begin{matrix} {{S_{i}^{*} = {{S_{i} + {\sum\limits_{1 \leq r < l}S_{i,j}^{*}}} = {a_{0} + {jP} + {\left( {a_{1} + {\sum\limits_{1 \leq r < l}b_{r,1}}} \right)i^{1}} + {\left( {a_{2} + {\sum\limits_{1 \leq r < i}b_{r,2}}} \right)i^{2}} + \ldots + {\left( {a_{k - 1} + {\sum\limits_{1 \leq r < l}b_{r,{k - 1}}}} \right)i^{k - 1}}}}},} & (52) \\ {\mspace{20mu} {{g^{S_{i}^{*}} = {g^{S_{i}} \cdot g^{\sum\limits_{1 \leq r < l}S_{i,j}^{*}}}},}} & (53) \\ {{= {g^{a_{0}} \cdot \left( g^{a_{1}} \right)^{i^{1}} \cdot \left( g^{a_{2}} \right)^{i^{2}} \cdot \ldots \cdot \left( g^{a_{k - 1}} \right)^{i^{k - 1}} \cdot \left( g^{b_{i,1}} \right)^{i^{1}} \cdot \ldots \cdot \left( g^{b_{1,{k - 1}}i^{k - 1}} \right)^{i^{k - 1}} \cdot \ldots \cdot \left( g^{b_{i,1}} \right)^{i^{1\;}} \cdot \ldots \cdot \left( g^{b_{i,{k - 1}}i^{k - 1}} \right)^{i^{{k - 1}\;}}}},} & (54) \\ {{= {g^{a_{0}} \cdot \left( {g^{a_{1}} \cdot g^{b_{{1,1}\;}} \cdot \ldots \cdot g^{b_{1,i}}} \right)^{i^{1}} \cdot \left( {g^{a_{2}} \cdot g^{b_{2,1}} \cdot \ldots \cdot g^{b_{2,i}}} \right)^{i^{2}} \cdot \ldots \cdot \left( {g^{a_{k - 1}} \cdot g^{b_{i,{k - 1}}} \cdot \ldots \cdot g^{b_{l,l,{k - 1}}}} \right)^{i^{{k - 1}\;}}}},} & (55) \\ {{= {g^{a_{0}} \cdot \left( g^{a_{1}^{*}} \right)^{i^{1\;}} \cdot \left( g^{a_{2}^{*}} \right)^{i^{2}} \cdot \ldots \cdot \left( g^{a_{k - 1}^{*}} \right)^{i^{k - 1}}}},{{{where}\mspace{14mu} g^{a_{j}^{*}}} = {g^{a_{j}} \cdot {\prod\limits_{r = 1}^{i}g^{a_{r,i}}}}},} & (56) \\ {\mspace{20mu} {G^{*} = {\left\{ {g^{a_{0}},g^{a_{1}^{*}},g^{a_{2}^{*}},\ldots \mspace{14mu},g^{a_{k - 1}^{*}}} \right\}.}}} & (57) \end{matrix}$

Because the new polynomials do not include an a₀ coefficient, the sum of the new secret shares corresponds to a value for a new polynomial that has the value 0 for i=0. This new polynomial, when added to the current polynomial encoding of the secret, produces a new polynomial encoding of the secret. In other words, adding the new polynomials together produces a result polynomial that has the value 0 when i=0. Adding this result polynomial to a polynomial that produces the secret when i=0 results in a polynomial that also produces the secret when i=0. The refresh process can be repeatedly carried out, generating a series of new encodings for a given secret. It is important to note that the new polynomials generated by the CC nodes during the refresh operation are not finite-field polynomials, as in the original secret encoding carried out by the SM, but are instead computed over the integers Z. This is important because, in many cases, the value P cannot be revealed by the SM to the CC nodes. Furthermore, because the refresh operations are frequently carried out for each stored secret, it is significantly more efficient to compute new polynomials over the integers Z rather than over a finite field during the refresh process.

In addition, a slightly modified refresh process can be used for adding a new CC node or recovering a failed CC node. In this process, the existing CC nodes generate new polynomials over the integers which produce 0-valued values for the new or recovering CC node. The existing CC nodes add together all the shares they receive from other CC nodes along with their current share to produce a new share and corresponding verification set, while the new or recovering CC node interpolates its share from the new shares of the other CC nodes using a Lagrangian-multiplier-interpolation function L(K). The process for adding a new CC node or recovering a failed CC node as described, in mathematical notation, as follows:

$\begin{matrix} {\mspace{20mu} {{S_{i} = {\left( {a_{0} + {a_{1}i^{1}} + {a_{2}i^{2}} + \ldots + {a_{k - 1}i^{k - 1}}} \right){mod}\; P}},}} & (58) \\ {\mspace{20mu} {{S_{i} = {a_{0} + {jP} + {a_{1}i^{1}} + {a_{2}i^{2}} + \ldots + {a_{k - 1}i^{k - 1}}}},}} & (59) \\ {\mspace{20mu} {{S_{i,j}^{**} = {{b_{j,1}i^{1}} + {b_{j,2}i^{2}} + \ldots + {b_{j,{k - 1}}i^{k - 1}}}},}} & (60) \\ {\mspace{20mu} {{c_{j} = S_{{l + 1},j}^{*}},}} & (61) \\ {\mspace{20mu} {{S_{i,j}^{*} = {S_{{l + 1},j}^{**} - c_{j}}},}} & (62) \\ {\mspace{20mu} {{S_{{l + i},1}^{*} = 0},}} & (63) \\ {\mspace{20mu} {{S_{j,i}^{\prime} = {S_{i,j}^{*} = {{b_{j,1}i^{1}} + {b_{j,2}i^{2}} + \ldots + {b_{j,{k - 1}}i^{k - 1}} - c_{j}}}},}} & (64) \\ {{G_{j}^{*} = {\left\{ {g^{b_{j,1}},g^{b_{j,2}},\ldots \mspace{14mu},g^{b_{j,{k - 1}}i^{k - 1}},g^{- c_{j}^{i}}} \right\} = \left\{ {g_{j,1}^{*},g_{j,2}^{*},\ldots \mspace{14mu},g_{j,{k - 1}}^{*},g_{j,k}^{*}} \right\}}},} & (65) \\ {{V\left( {G_{j}^{*},i,S_{j,i}^{\prime},g} \right)}->{B \equiv \left\{ {\begin{matrix} {{i \neq {l + 1}},{{g^{S_{j,i}^{\prime}}{mod}\mspace{14mu} N} = {\left( g_{j,k}^{*} \right)^{- 1} \cdot {\prod\limits_{g_{j,{1 \leq m > k}}^{*}}{\left( g_{j,m}^{*} \right)^{i^{*}}{mod}\mspace{14mu} N}}}}} \\ {{i = {l + 1}},{{g^{S_{j,i}^{\prime}}{mod}\mspace{14mu} N} = 1}} \end{matrix},} \right.}} & (66) \\ {\mspace{20mu} {{S^{*} = {S_{i} + {\sum\limits_{j}S_{i,j}^{*}}}},}} & (67) \\ {\mspace{20mu} \begin{matrix} {g^{S_{i}^{*}} = {g^{S_{i}} \cdot g^{\sum\limits_{j}S_{i,j}^{*}}}} \\ {= {g^{a_{0}} \cdot {\prod\limits_{j}{\left( g_{j,k}^{*} \right)^{- 1} \cdot \left( {g^{a_{1\;}}{\prod\limits_{j}g_{j,1}^{*}}} \right)^{i^{1\;}} \cdot}}}} \\ {{{\left( {g^{a_{2}}{\prod\limits_{j}g_{j,2}^{*}}} \right)^{i^{2\;}} \cdot \ldots \cdot \left( {g^{a_{k - 1}}{\prod\limits_{j}g_{j,{k - 1}}^{*}}} \right)^{i^{k - 1}}},}} \end{matrix}} & (68) \\ {\mspace{20mu} {{G^{*} = \left\{ {g_{0}^{*},g_{1}^{*},\ldots \mspace{14mu},g_{k}^{*}} \right\}},}} & (69) \\ {\mspace{20mu} {{S_{l + 1}^{*\prime} = {{L(K)} = {\frac{1}{\Delta} \cdot {\sum\limits_{j = 1}^{k}{C_{j}K_{j}{mod}{\mspace{11mu} \;}N}}}}},\mspace{20mu} {{{where}\mspace{14mu} C_{j}} = {\sum\limits_{j = 1}^{k}{\Delta \cdot \frac{{\overset{k}{\prod\limits_{{i = 1},{i \neq j}}}{{index}\left( {K,i} \right)}} - \left( {l + 1} \right)}{{\overset{k}{\prod\limits_{{l = 1},{i \neq j}}}{{index}\left( {K,i} \right)}} - {{index}\left( {K,j} \right)}}}}},}} & (70) \\ {\mspace{20mu} {b^{S_{l + 1}^{*\prime}} = {{b^{S_{l + 1}^{*}}\left( {{mod}\mspace{14mu} N} \right)}.}}} & (71) \end{matrix}$

There are a variety of possible implementations of the DSS system. FIGS. 21A-B illustrate, at a relatively high level, one family of implementations. FIG. 21A shows high-level architecture diagrams for the SM 2102 and the CC nodes 2104. The SM 2102 may be implemented as an application server with a web interface and secure storage. The SM includes a web-service interface and module 2106 through which administrators and other users request various services provided by the SM and through which CC nodes access a different set of services provided by the SM. The SM also includes a web-client module 2108 that requests services provided by CC nodes. The SM includes various application modules 2110 that define the SM functionality, including a policy-management module 2112, an identity-management module 2114, an administration-service module 2116, and a set of secret-management modules 2118 that each manages secrets of particular predefined types. An encrypted storage device 2120 stores public keys used for communications, SM private keys, and additional information related to the DSS configuration, DSS-client agents, and DSS CC nodes. In certain implementations of the DSS system, clients, stored secrets, and CC nodes are associated with policies that include rules and parameter values to control operation of the DSS system. For example, clients may be restricted with respect to which stored secrets they can access, may be restricted to certain times and frequencies of access to particular stored secrets, and may be permitted to access only a subset of various additional services provided by the DSS system to DSS-client agents. Secret policies may specify refresh rates for stored secrets, the lifetime for stored secrets, types of access allowed for particular stored secrets, and other such constraints and parameters. The identity-management module 2114 is concerned with management of DSS-client agent identifies used in mutual authentication that is a precondition for establishing secure connections between DSS-client agents and CC nodes. In addition, CC-node identities may also be managed by the SM. The administrative-service module 2116 provides a suite of administrative services to administrators, system managers, and other privileged users. These services include configuration services, auditing services, tools for analyzing computational loads and DSS-system performance, policy creation and update, and many other such services. The secret-management modules 2118 are concerned with configuring and managing secret storage, monitoring secret access, configuring derivative services associated with particular types of secret, and other such tasks and operations. The CC-node architecture 2104 is similar to the SM architecture, with each CC node including application modules that implement policy management 2122, refresh management 2124, administrative services 2126, auditing and logging 2128, secret-storage services 2130, and various services associated with particular types of secrets 2132. Again, it should be emphasized that secrets exist for only a short, initial period of time within the DSS system, specifically in SM memory. Once the SM has encoded a secret in a finite-field polynomial, the secret is deleted from SM memory and deletion of the secret is verified. From then on, the secret can only be reconstructed by a DSS-client agent from multiple secret shares obtained from multiple CC nodes, in certain implementations, and, in other implementations, may never again be reconstructed.

FIG. 21B illustrates the types of data that may be stored within the DSS system. FIG. 21B shows a number of relational-database tables to illustrate the internally stored data. This data may be partly distributed across multiple entities. For example, the SM may contain comprehensive data with regard to clients and client policies, a portion of which may be distributed among CC nodes that clients associated with the client policies are authorized to access. The internally stored data may include client data, represented by a clients table 2140, client policies, represented by a client-policies table 2142, data related to stored secrets, represented by a stored-secret table 2144, CC nodes, represented by a CC-node table 2146, and secret policies, represented by a secret-policies table 2148. In addition, a number of tables 2150-2153 store associations between particular clients and particular client policies, particular clients and particular stored secrets, particular secrets and secret policies, and particular secrets and CC nodes that store shares generated from the secrets. In certain embodiments, each DSS client, each client policy, each secret policy, and each stored secret is associated with an identifier, which allows these various data items to be referenced from other data items and in service requests. Client data may include one or more IP addresses for each client, an indication of the type of client, client public keys used for establishing secure communications, and much additional information. Client policies may specify access periods, access frequencies, reauthorization frequencies, subsets of the various types of DSS services that may be accessed by particular clients and groups of clients, and other such information. Secret policies may specify access periods, access frequencies, refresh intervals, lifetimes, expiration dates, and types of associated services that may be performed in association with secret access. Secret data may include creation dates, lists of CC nodes authorized for share storage, refresh intervals, expiration dates, and other such information. CC-node data may include IP addresses, indications of the data centers or cloud-computing facilities in which a CC node resides, resource capacities, operating-system, hardware type, and other such information.

FIGS. 22A-D illustrate the various types of communications and interactions between DSS-system entities and components. FIGS. 22A-D all use the same illustration conventions, next discussed with reference to FIG. 22A. The SM 22, CC nodes 2204-2206, a DSS-client agent 2208, and an administrator or other privileged user 2210 are represented by discs. Interactions between two or more of these entities are represented by pairs of arrows. For example, FIG. 22A illustrates interactions between a privileged user and the SM via arrows 2212-2213. In all cases, secure communications channels are established prior to exchange of sensitive and confidential information and data. Privileged users access a variety of different types of administration and management services provided by the SM. A privileged user may transmit a secret for secure storage by the DSS system, configure CC nodes, authorize particular clients to access secrets, establish various types of policies and associate those policies with particular secrets and DSS-client agents, request and access audits, review logs and performance data, add new CC nodes and terminate existing CC nodes, and carry out the variety of additional types of administration-and-management-related tasks and operations.

As shown in FIG. 22B, the SM communicates with the CC nodes for a variety of reasons. As discussed above, the SM initially distributes secret shares to CC nodes. In addition, the SM may download CC-node application modules to CC nodes, manage association of policies within CC nodes, configure and reconfigure CC nodes, control generation of audits and logging activities of CC nodes, and carry out many additional such activities and operations with respect to CC nodes. CC nodes may request particular services from the SM, including services related to DSS-client authorization, error reporting, error and anomalies management, and other services. As shown in FIG. 22C, DSS-client agents interact with CC-nodes to request secret shares and other stored-secret-related services. As one example, in certain implementations, a DSS-client agent may forward a public-key digital certificate from a client to the CC nodes that store secret shares for a client private encryption key in order to access a digital-certificate signing service provided by the DSS system. Finally, as shown in FIG. 22D, in certain implementations, a DSS-client agent may directly contact the SM for particular services provided by the SM. For example, in certain implementations, a DSS-client agent may request a current set of CC-node addresses corresponding to a particular stored-secret identifier. In addition, the SM may download DSS-client-agent executables to client computers.

FIGS. 23A-B provide control-flow diagrams that illustrate several features common to multiple DSS-system entity types and components. FIG. 23A provides a control-flow diagram for a generalized event handler that underlies SM, CC-node, and DSS-client-agent implementations. The event handler waits for a next event to occur, in step 2302. When a next event occurs, a particular type of handler for that event is invoked in a series of conditional-step/handler-call-step pairs 2304-2305, 2306-2307, and 2308-2309. Typically, a default handler 2310 handles unexpected or rare events. Ellipses 2312 indicates that many additional types of events may be handled by a particular event handler. When there are more events that have occurred and that have been queued during handling of a recently occurred event, as detected in step 2314, a next event is dequeued, in step 2316, and control returns to step 2304. Otherwise, control returns to step 2302, where the event handler waits for a next event to occur. Events may include reception of service requests through a web-service interface, incoming messages from secure communications channels, timer expirations, error conditions, asynchronous calls and call completions, and many other types of events.

FIG. 23B provides a control-flow diagram for secure-communications-establishment logic. As discussed above, the various DSS-system entities generally establish secure-communications channels for secure transmission and reception of data among one another. In step 2320, the routine “establish secure communications” receives the address of a remote device and an identifier that identifies a remote entity, such as a service requester. In step 2322, the DSS entity looks up the remote-device address and requester identifier to determine whether the DSS entity is authorized to establish secure communications with the entity. When either the requester identifier is not found, as determined in step 2324, or the remote-device address is not found, as determined in step 2326, a handler is called, in steps 2328 or 2332, to handle the failures. This may involve carrying out additional checks and communications with the SM, initiating a dialogue with the remote entity, or making a determination to reject the request. When the handler returns a success indication, as determined in steps 2332 and 2334, the routine “establish secure communications” resumes. Otherwise, in steps 2336 and 2338, the request is rejected. In step 2340, the routine “establish secure communications” searches the currently established secure communications channels to determine whether a secure communications channel is already in place for communicating with the remote entity. If so, as determined in step 2342, information related to the existing secure-connection is returned in step 2344. Otherwise, a mutual authentication protocol is initiated, in step 2346. When mutual authentication fails, as determined in step 2348, an error is returned in step 2350. Otherwise, a secure communications connection is established within the remote entity, in step 2352, and, when establishment of the secure communications channel succeeds, as determined in step 2354, information related to the secure-connection is returned in step 2356. When no secure connection is established, a connection error is returned in step 2358.

FIG. 24 provides a control-flow diagram for an SM handler. This handler handles secret-storage requests received through the web-service interface by the SM or through an existing secure channel. In step 2402, the handler receives a secret-storage request. When the request has not been received over a secure channel, as determined in step 2404, a call is made to establish secure communications in step 2406. When establishment of a secure communications channel fails, as determined in step 2408, an error is returned in step 2410. Otherwise, in step 2412, the SM requests the secret and policy information for the secret through the secure communications channel. In step 2414, the SM waits for a response. When the wait times out without response reception, as determined in step 2416, an error is returned in step 2418. Otherwise, an identifier for the secret is generated and additional information related to the secret is stored, in step 2420. In step 2422, the values k and l, discussed above, are selected for the secret and a map of secret shares to CC nodes is determined. In step 2424, the SM generates the secret shares for the secret and then, in step 2426, deletes the secret from memory. In the for-loop of steps 2428-2430, the SM sends the secret-share index, the secret share, the verification set, a corresponding secret identifier, and a generator to each CC node that will store a secret share for the secret. Then, in step 2432, a commit-secret routine is called to coordinate committing the secret within the DSS system, which may involve determining that the CC nodes receive their shares and coordinating commitment of those shares and additional secret-related information by all of the CC nodes and the SM. When the secret shares are committed successfully, as determined in step 2434, the handler returns a success indication and the identifier for the secret in step 2436. Otherwise, an error is returned in step 2438.

FIGS. 25A-E provide control-flow diagrams for a number of CC-node event handlers. FIG. 25A shows a control-flow diagram for a CC-node secret-storage-request handler. In step 2502, the handler receives a storage request from the SM. In step 2504, the handler extracts the share index i, the share S_(i), the verification set G, a secret identifier, and a generator g from the received secret-storage request, along with additional information, such as policy information. In step 2506, the handler applies the verification function V, discussed above with reference to equation (36), to the extracted secret information to verify the secret share S_(i). When the verification fails, as determined in step 2508, a bad-share-report call is made, in step 2510, to report the bad share to the other CC nodes and, in certain implementations, to the SM. In certain implementations, a collective attempt to resolve reception of the bad share is made among the CC nodes. When reception of the bad share is resolved, as determined in step 2512, the handler continues executing at step 2514. Otherwise, the handler returns. In step 2514, the received share information is stored by the CC node. When an attempt to store the information reveals conflicts with information already maintained by the CC node, as determined in step 2516, such as, for example, determination that secret information for a secret with the same secret identifier already resides within the CC node, a call to a report-conflicts routine is made in step 2518. Conflicts may be reported, in certain implementations, to the SM node as well as to additional CC nodes and various steps may be taken to ameliorate the conflict. If the conflict is resolved, as determined in step 2520, then a commit-new-secret routine is called, in step 2522, to coordinate with other CC nodes to commit the new secret shares within the DSS system. When the commit fails, as determined in step 2524, a report-commit-failure routine is called in step 2526 to report the commit failure to other CC nodes as well as to the SM and to remove information related to the received secret share from the CC node. Otherwise, the handler returns in step 2528.

FIG. 25B shows a control-flow diagram for a CC-node refresh-timer-expiration handler. This handler is called when a refresh timer expires, signaling initiation of a next round of share-refresh operations. In step 2529, the handler checks stored information to determine whether or not there are expired shares for which a refresh operation needs to be undertaken. The outer for-loop of steps 2530-2539 iterates over each of the expired shares S. In step 2531, the handler checks whether the expired share as has been expired for more than a threshold amount of time. If so, as determined in step 2532, a handle-failed-refresh routine is called, in step 2533, to ameliorate a failed refresh operation for the expired share. In certain cases, the DSS system may elect to continue to use the existing shares within the CC nodes until a next set of refresh operations is undertaken. In other cases, the refresh operation may be retried after coordination among the CC-nodes involved in the failed refresh operation to clean up any remaining lamination regarding the failed refresh operation. In step 2534, the share index, current share, generator, and verification set are retrieved from storage and used, in step 2535, to generate a new polynomial over the integers S*_(j,i) and to construct a new verification set G*_(i), as discussed above with reference to equations (47-50). These data items are stored, a variable num is initialized to 1, and a variable OK is initialized to 0, with the data and variables associated with an identifier for the secret. Then, in the inner for-loop of steps 2536-2538, the handler computes a new share from the new polynomial and sends the new share, along with the verification set and other information related to the new share, to each of the other CC nodes that store shares for the expired secret S. Following termination of the outer for-loop, the refresh timer is reset, in step 2540.

FIG. 25C shows a control-flow diagram for a CC-node refresh-message-reception handler. In step 2542, the handler receives a refresh message from another CC node and increments the variable num. In step 2543, the handler applies the verification function V to the information related to the secret share received in the refresh message. When the received secret share fails to verify, as determined in step 2544, a call is made to a handle-bad-share routine 2546, after which the handler returns. The handle-bad-share routine reports reception of the bad share to the other CC nodes and, in certain implementations, may invoke a collaborative effort within the DSS system to remedy the situation. In many cases, this may involve isolating or terminating the CC node which sent the bad share and updating the DSS system to use the surviving CC nodes, when more than k CC nodes continue to operate correctly, for continued storage of the secret share. Alternatively, a new CC node may be configured to replace the terminated CC node. Otherwise, the contents of the received refresh message are stored in association with the identifier of the secret for which the new share has been sent and the variable n, which indicates the number of verified received shares, is incremented in step 2548. When refresh messages have been received from the other i-1 CC nodes storing shares for the secret associated with the secret identifier, where the variable num contains an indication of the number of relevant refresh messages received, and the number of verified shares is greater than or equal to k, as determined in step 2549, a new secret share for the secret and a new verification set are computed, in step 2550, as discussed above with reference to equations (52-57). Finally, in step 2551, an OK message is sent to the other CC nodes storing shares for the secret. The OK message generally includes various information collected during the refresh operation, such as indications of any bad shares that were received.

FIG. 25D shows a control-flow diagram for a CC-node received-OK-message handler. In step 2553, the handler receives an OK message from another CC note. In step 2554, the contents of this message are verified with respect to other information stored about the refresh operation for the secret share for which the refresh operation was initially undertaken. When the verification succeeds, as determined in step 2555, a variable OK associated with the secret is incremented, in step 2556. When the value in the variable OK is greater than or equal to k, as determined in step 2557, a commit routine is called, in step 2558, to commit the new refreshed secret share and verification set across all of the CC nodes that store shares for the secret.

FIG. 25E shows a control-flow diagram for a CC-node secret-request handler. In step 2560, the handler receives a secret request from a DSS-client agent. When the secret request has not been received through a secure channel, as determined in step 2561, an establish-secure-communications routine is called, in step 2562, to establish a secure channel with the DSS-client agent. When a secure channel has failed to be established, as determined in step 2563, an error is returned in step 2564. Otherwise, in step 2565, the handler extracts a client ID and secret ID from the secret request message. In step 2566, a verify-request routine is called to verify the existence of the client and secret as well as to determine whether or not the client is authorized to access the secret at the current time. When verification fails, as determined in step 2567, an error is returned in step 2568. Otherwise, the CC node retrieves a secret share and additional information for the requested secret, in step 2569, and returns information to the client step 2570.

FIG. 26A provides a control-flow diagram for a DSS-client-agent get-secret routine. This routine requests secret shares from the CC nodes in order to reconstruct a secret within the DSS-client agent. Secret reconstruction may be carried out by the DSS-client agent in the course of providing any of various different requested services to client applications, such as digital-certificate signing or secure-connection establishment. In step 2602, the routine “get secret” receives a secret identifier or other information that allows the DSS-client agent to determine the secret identifier for the desired secret. In step 2604, the routine “get secret” looks up additional information, or obtains additional information via a service call to other DSS-system entities, needed to request the secret shares, including indications of the CC nodes that store secret shares for the desired secret and their network addresses. Then, in the for-loop of steps 2606-2608, the routine “get secret” sends out secret-share request messages to each of the CC nodes that store shares for the secret. In step 2610, the routine “get secret” initializes a variable n, stored in association with the secret identifier, to store the value 0.

FIG. 26B shows a control-flow diagram for a DSS-client-agent return-share handler. This routine receives responses to get-secret requests. In step 2614, the handler receives a share message returned by a CC node and extracts the secret identifier from this message. When the message indicates an error, as determined in step 2616, a handle-error routine is called, in step 2618, to handle the error condition. In certain cases, for example when at least k CC nodes have responded or eventually respond to the DSS-client agent's get-secret request, the error may be handled by simply reporting the error condition. In other cases, various steps may be undertaken to retry the get-secret request to ameliorate the conditions within the DSS system that led to the error. Otherwise, the handler extracts the secret-share index, secret share, generator, and verification set from the message, in step 2620. In step 2622, the handler verifies the secret share using the verification function V, discussed above with reference to equation (36). When verification succeeds, as determined in step 2624, the secret share is stored in association with the secret ID, in step 2626. In step 2627, the variable n is incremented. Otherwise, when verification fails, the handler returns, in step 2628. When the value stored in the variable n is greater than or equal to k, as determined in step 2630, the secret is reconstructed by applying the interpolation function F( ), discussed above with reference to equations (15-16).

The present invention has been described in terms of particular embodiments, it is not intended that the invention be limited to these embodiments. Modifications within the spirit of the invention will be apparent to those skilled in the art. For example, any of many different implementations can be obtained by varying various design and implementation parameters, including modular organization, control structures, data structures, hardware, operating system, and virtualization layers, and other such design and implementation parameters. A variety of additional approaches may be used to increase the resilience of the DSS system to external and internal security-compromising attacks, in the handling of various anomalies in error conditions may vary in different implementations. Many different types of information may be securely stored within the DSS in addition to private encryption keys, passwords, and other well-known types of critical information. As discussed above, secure storage of secrets may be accompanied by provision of many different types of services foundation on securely stored secrets. 

1. A distributed-secure-storage system within one or more distributed computer systems, the distributed-secure-storage system comprising: multiple servers, each implemented within a computer system having one or more processors, one or more memories, and one or more mass-storage devices; and computer instructions, stored in the memories of the multiple servers and a client system, that, when executed by multiple processors, control the distributed-secure-storage system to partition data comprising a secret into multiple secret shares using a finite-field polynomial, assign each secret share to a different server node; store the secret share assigned to each server node within the server node; iteratively refresh the stored secret shares using multiple polynomials over the integers, and reconstruct the secret within the client system from a subset of the stored secret shares.
 2. The distributed-secure-storage system of claim 1 wherein the secret is partitioned, using a finite-field polynomial, into l secret shares; wherein l>1; and wherein the secret is reconstructed from a subset K of the of the l secret shares that includes at least k secret shares, where k is less than l.
 3. The distributed-secure-storage system of claim 2 wherein a verification set is constructed from the finite-field polynomial; and wherein the verification set is used to verify, by each node, that the secret share assigned to the node was partitioned from the secret using the finite-field polynomial.
 4. The distributed-secure-storage system of claim 3 wherein the stored secret shares are refreshed from at least k sets of new secret shares, each set of new secret shares generated from a new polynomial over the integers within a different node.
 5. The distributed-secure-storage system of claim 4 wherein the verification set is refreshed using the at least k sets of new secret shares and at least k new verification sets, each new verification set constructed from the new polynomial over the integers generated within a different node.
 6. The distributed-secure-storage system of claim 3 wherein a new node is added to the secure-storage system and provided a new secret share generated from at least k sets of new secret shares, each set of new secret shares generated from a new polynomial over the integers within a different existing node.
 7. The distributed-secure-storage system of claim 6 wherein the new node is provided a new verification set constructed from the at least k sets of new secret shares and at least k new verification sets, each new verification set constructed from the new polynomial over the integers within a different existing node.
 8. The distributed-secure-storage system of claim 1 wherein distributed-secure-storage system includes a security-management server and the multiple server nodes.
 9. The distributed-secure-storage system of claim 8 wherein the security-management server: receives a secret for secure storage; stores the secret temporarily in memory; generates a finite-field polynomial; partitions the secret into multiple secret shares using the finite-field polynomial; constructs a verification set for the secret; and distributes each secret share and the verification set to a different server node.
 10. The distributed-secure-storage system of claim 9 wherein the security-management server additionally: generates a secret identifier for the secret; receives policy information with respect to the secret; stores the policy information in association with the secret identifier; and uses the policy information to manage access to the secret by secure-storage-subsystem client devices.
 11. The distributed-secure-storage system of claim 8 wherein the security-management server provides services and tools to privileged users of the distributed-secure-storage system, including: configuration services; auditing services; tools for analyzing computational loads and DSS-system performance; policy creation and update services; and identity-management services.
 12. The distributed-secure-storage system of claim 8 wherein the security-management server includes: a web-service interface and module; a web-client module; a policy-management module; an identity-management module; an administration-service module; a set of secret-management modules; and encrypted storage.
 13. The distributed-secure-storage system of claim 8 wherein each server node: receives and a secret share, verification set, and secret identifier from the security-management server; verifies the secret share using the verification set; and when the verification of the secret share succeeds, stores the secret share and verification set in association with the secret identifier.
 14. The distributed-secure-storage system of claim 13 wherein each server node: receives a request for the secret share that includes a secret identifier from a secure-storage-subsystem-client device; verifies that a secret share is stored within the server node in association with the secret identifier and that the secure-storage-subsystem-client device is authorized to access the secret; and when the verification succeeds, transmits the secret share to the distributed-secure-storage system-client device.
 15. The distributed-secure-storage system of claim 8 wherein each server node includes: a web-service interface and module; a web-client module; a policy-management module; a refresh-management module; an administrative-services module; an auditing and logging module; and encrypted storage.
 16. A method that securely stores data in a distributed-secure-storage system within one or more distributed computer systems, the distributed-secure-storage system including multiple servers, each implemented within a computer system having one or more processors, one or more memories, and one or more mass-storage devices, the method comprising: receiving the data; partitioning the data, comprising a secret, into multiple secret shares using a finite-field polynomial, assigning each secret share to a different server node; storing the secret share assigned to each server node within the server node; iteratively refreshing the stored secret shares using multiple polynomials generated over the integers, and reconstruct the secret within the client system from a subset of the stored secret shares.
 17. The method of claim 16 wherein partitioning the data, comprising a secret, into multiple secret shares using a finite-field polynomial further comprises selecting a number N, selecting a number P, where P is the value of the Euler totient function applied to N, selecting a number of secret shares l, selecting a number of secret shares k needed to reconstruct the secret, where k is less than l, generating a finite-field polynomial f(i) with k coefficients a₀, a₁, . . . , a_(k−1), where each coefficient is less than P, a₀ is equal to a numeric value of the secret, and each term has the form a_(i)x^(i), and generating each secret share Si as f(i) mod N, where i is selected from {1, . . . , l}; wherein a verification set G is created for the secret from a generator g; wherein g is an integer greater 1 and less than P; wherein g is coprime to P; and wherein G={g^(a) ⁰ , g^(a) ¹ , . . . , g^(a) ^(k−1) } mod N.
 18. The method of claim 17 wherein iteratively refreshing the stored secret shares using multiple polynomials generated over the integers comprises, at each iteration: generating, by each server node, a new polynomial f( ) over the integers with k−1 coefficients a₁, . . . , a_(k−1), where each coefficient is less than P and each term has the form a_(i)x^(i), generating, by each server node, a new secret share Si as f(i) mod N, where i is selected from {1, . . . , l}; sending, by each server node, a new secret share to each of the other server nodes; and generating a refreshed share, by each server node, by summing the new shares received from the other server nodes, a new share generated for itself, and a current secret share.
 19. The method of claim 18 wherein, in addition to generated a refreshed share, each server node generates a corresponding verification set in which each element if the product of the corresponding elements of the current verification set and the new verification sets generated by the server nodes.
 20. A physical data-storage device that stores a sequence of computer instructions that, when executed by one or more processors within one or more computer systems that each includes one or more processors, one or more memories, and one or more data-storage devices, control the one or more computer systems to securely store data in a distributed-secure-storage system within one or more distributed computer systems, the distributed-secure-storage system including multiple servers, by: receiving the data; partitioning the data, comprising a secret, into multiple secret shares using a finite-field polynomial, assigning each secret share to a different server node; storing the secret share assigned to each server node within the server node; iteratively refreshing the stored secret shares using multiple polynomials generated over the integers, and reconstruct the secret within the client system from a subset of the stored secret shares. compressed metric data points in one or more of the one or more data-storage devices. 